
#ifndef _TLM_RMT_CFG_H
#define _TLM_RMT_CFG_H


#include "ssw_types.h"
#include "entITelematics_Def.h"


#define TLM_RMT_CFG_SERVICE_ID_WEB 4
#define TLM_RMT_CFG_SERVICE_ID_NAVI 5
#define TLM_RMT_CFG_SERVICE_ID_ADMIN 8  


//#define MAX_CFG_URL_STRING_LENGTH 100
//#define MAX_SERVICE_VIN_LENGTH 17

//## type S_TLM_REMOTE_CFG_WEB_DATA
struct S_TLM_REMOTE_CFG_WEB_DATA {
    bool_t freeSurf;		//## attribute freeSurf
    bool_t webPortal;		//## attribute webPortal
    bool_t webPortalSubStatus;		//## attribute webPortalSubStatus
    bool_t rmtHmiStatus;		//## attribute rmtHmiStatus
    uint8_t speedThreshold;		//## attribute speedThreshold
};

//## type S_TLM_REMOTE_CFG_TRAFFIC
struct S_TLM_REMOTE_CFG_TRAFFIC {
    bool_t trafficInfoStatus;		//## attribute trafficInfoStatus
    bool_t trafficInfoOverFM;		//## attribute trafficInfoOverFM
    uint16_t trafficPeriod;		//## attribute trafficPeriod
    uint8_t trafficUrl[MAX_CFG_URL_STRING_LENGTH];		//## attribute trafficUrl
};

//## type S_TLM_REMOTE_CFG_WEATHER
struct S_TLM_REMOTE_CFG_WEATHER {
    bool_t weatherStatus;		//## attribute weatherStatus
    uint8_t weatherUrl[MAX_CFG_URL_STRING_LENGTH];		//## attribute weatherUrl
};

//## type S_TLM_REMOTE_CFG_LOCAL_SEARCH
struct S_TLM_REMOTE_CFG_LOCAL_SEARCH {
    bool_t localStatus;		//## attribute localStatus
    uint8_t localUrl[MAX_CFG_URL_STRING_LENGTH];		//## attribute localUrl
};

//## type S_TLM_REMOTE_CFG_PARKING
struct S_TLM_REMOTE_CFG_PARKING {
    bool_t parkingStatus;		//## attribute parkingStatus
    uint8_t parkingUrl[MAX_CFG_URL_STRING_LENGTH];		//## attribute parkingUrl
};

//## type S_TLM_REMOTE_CFG_GAS_STATION
struct S_TLM_REMOTE_CFG_GAS_STATION {
    bool_t stationStatus;		//## attribute stationStatus
    uint8_t stationUrl[MAX_CFG_URL_STRING_LENGTH];		//## attribute stationUrl
};

//## type S_TLM_REMOTE_CFG_ADMIN_DATA
struct S_TLM_REMOTE_CFG_ADMIN_DATA {
    uint8_t recFilter;		//## attribute recFilter
    uint8_t serviceVin[MAX_SERVICE_VIN_LENGTH];		//## attribute serviceVin
    uint8_t adminUrl [MAX_CFG_URL_STRING_LENGTH];		//## attribute adminUrl
};

//#[ type de_tlmErgID
#define    ERG_DPCA_TLM_REMOTECFG_ADMIN            0   
#define    ERG_DPCA_NAVI_REMOTECFG_LOCALSEARCH      1
#define    ERG_DPCA_NAVI_REMOTECFG_PARKING          2  
#define    ERG_DPCA_NAVI_REMOTECFG_WEATHER          3
#define    ERG_DPCA_NAVI_REMOTECFG_GASSTATION       4
#define    ERG_DPCA_NAVI_REMOTECFG_TRAFFIC          5 
#define    ERG_DPCA_TLM_REMOTECFG_WEB              6 
//#]


#endif
